﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AlterGear.SQLLibrary
{
    public class IndexInfo
    {
        public int ObjectId { get; set; }
        public string TableName { get; private set; }
        public int IndexId { get; set; }
        public string Name { get; set; }
        public decimal AvgFragPct { get; set; }
        public bool Selected { get; set; }

        public IndexInfo(int objectId, string tableName, int indexId, string name, decimal avgFragPct)
        {
            this.Selected = false;
            this.ObjectId = objectId;
            this.TableName = tableName;
            this.IndexId = indexId;
            this.Name = name;
            this.AvgFragPct = avgFragPct;
        }

    }
}
